package com.ken.app.mapper;

import com.ken.app.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 *
 * Author: Liuk
 * Mail: leo_work@aliyun.com
 * Date: $date
 * Desc: 用户的数据库操作
 *
 */
@Repository
public interface UserRepository extends JpaRepository<User,Long> {

    User findByUsername(String name);

}
